﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RayTracerLib.Materials;
using Microsoft.DirectX;

namespace RayTracerLib.Primitives
{
    public class Shape : GeomObj
    {
        public Material MaterialShape { get; set; }
        public Matrix TransformMatrix { get; set; }
        public Matrix InvTransformMatrix
        {
            get
            {
                Matrix temp = TransformMatrix;
                temp.Invert();
                return temp;
            }
        }
        public Shape()
        {
            MaterialShape = new Material();
            TransformMatrix = new Matrix();            
            Quaternion q;
            
        }
    }
}
